package com.qf.swagger2204.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.swagger2204.entity.Vote;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface VoteDao extends BaseMapper<Vote> {
    List<Vote> selectByPhone(@Param("phone") String phone);

    List<Vote> selectAll();
}
